package com.example.demo.service;

import com.alipay.api.AlipayApiException;

import java.io.IOException;
import java.util.Map;

public interface AlipayService {

    String processPayment(String outTradeNo, String subject, String totalAmount, String body
                          )throws IOException, AlipayApiException;

    Map<String, Object> queryOrderStatus(String outTradeNo) throws AlipayApiException;
    String handleNotify(Map<String, String> params);
}
